package cn.baiweigang.uu.db.repository;

import cn.baiweigang.uu.db.dataobj.ConfigDo;
import cn.baiweigang.uu.db.mapper.ConfigMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class ConfigRepository {

    @Autowired
    private ConfigMapper configMapper;

    public List<ConfigDo> queryAll(){
        return configMapper.queryAll();
    }
}
